<?php
/**
* @package RecruitmentManagerAdmin
* @version 1.5.2 Stable Update 1, August 2009
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

global $RecruitmentManagerVersion;
$RecruitmentManagerVersion = '1.5.2 Stable Update 1';

// Load the html class. 
// so now we can use anything that it provides!
require_once( JApplicationHelper::getPath( 'admin_html' ) ); 

$task 	= JRequest::getVar('task', '' ,"REQUEST");

switch ($task) {
  case 'clientlist':
    RecruitmentManagerAdminHTML::clientlist();
    break;
  case 'clientinsert':
    RecruitmentManagerAdminHTML::clientinsert();
    break;
  case 'clientamend':
    RecruitmentManagerAdminHTML::clientamend();
    break;
  case 'clientdelete':
    RecruitmentManagerAdminHTML::clientdelete();
    break;

  case 'jobslist':
    RecruitmentManagerAdminHTML::jobslist();
    break;
  case 'jobinsert':
    RecruitmentManagerAdminHTML::jobinsert();
    break;
  case 'jobamend':
    RecruitmentManagerAdminHTML::jobamend();
    break;
  case 'jobdelete':
    RecruitmentManagerAdminHTML::jobdelete();
    break;

  case 'candidateslist':
    RecruitmentManagerAdminHTML::candidateslist();
    break;
  case 'candidateinsert':
    RecruitmentManagerAdminHTML::candidateinsert();
    break;
  case 'candidateamend':
    RecruitmentManagerAdminHTML::candidateamend();
    break;
  case 'candidatedelete':
    RecruitmentManagerAdminHTML::candidatedelete();
    break;

  case 'applicationslist':
    RecruitmentManagerAdminHTML::applicationslist();
    break;
  case 'applicationinsert':
    RecruitmentManagerAdminHTML::applicationinsert();
    break;
  case 'applicationamend':
    RecruitmentManagerAdminHTML::applicationamend();
    break;
  case 'applicationdelete':
    RecruitmentManagerAdminHTML::applicationdelete();
    break;

  case 'interviewslist':
    RecruitmentManagerAdminHTML::interviewslist();
    break;
  case 'interviewinsert':
    RecruitmentManagerAdminHTML::interviewinsert();
    break;
  case 'interviewamend':
    RecruitmentManagerAdminHTML::interviewamend();
    break;
  case 'interviewdelete':
    RecruitmentManagerAdminHTML::interviewdelete();
    break;

  case 'areaslist':
    RecruitmentManagerAdminHTML::areaslist();
    break;
  case 'areainsert':
    RecruitmentManagerAdminHTML::areainsert();
    break;
  case 'areaamend':
    RecruitmentManagerAdminHTML::areaamend();
    break;
  case 'areadelete':
    RecruitmentManagerAdminHTML::areadelete();
    break;

  case 'sectorslist':
    RecruitmentManagerAdminHTML::sectorslist();
    break;
  case 'sectorinsert':
    RecruitmentManagerAdminHTML::sectorinsert();
    break;
  case 'sectoramend':
    RecruitmentManagerAdminHTML::sectoramend();
    break;
  case 'sectordelete':
    RecruitmentManagerAdminHTML::sectordelete();
    break;

  case 'rateslist':
    RecruitmentManagerAdminHTML::rateslist();
    break;
  case 'saverateorder':
    RecruitmentManagerAdminHTML::rateslist();
    break;
  case 'rateinsert':
    RecruitmentManagerAdminHTML::rateinsert();
    break;
  case 'rateamend':
    RecruitmentManagerAdminHTML::rateamend();
    break;
  case 'ratedelete':
    RecruitmentManagerAdminHTML::ratedelete();
    break;

  case 'cssadmin':
    RecruitmentManagerAdminHTML::cssadmin();
    break;

  case 'fptxtamend':
    RecruitmentManagerAdminHTML::ControlPanel();
    break;

	default:
		RecruitmentManagerAdminHTML::ControlPanel();
		break;

}
?>
